<?php
namespace app\mobile\model;

/**
 * Class MemberGrade
 * @package app\mobile\model     会员等级表
 */
class MemberGrade extends BaseModel
{
    /*
     * 按会员经验输出会员等级
     */
    public function echo_level($suffer)
    {
        $data = self::where('exp_a','egt',$suffer)->where('exp_b','elt',$suffer)->find();
        return $data;
    }
}